@import '../../assets/css/mixins.scss';

.charts-container {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 1% 1%;
  background-color: var(--cc-body-bg);

  .header {
    font-size: 30px;
    height: 4%;
    line-height: 2%;
    text-align: center;
    font-weight: 700;
  }

  .echart-com-container {
    height: 100%;
    border-radius: 4px;
    background-color: var(--panle-bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;

    .title-header {
      display: flex;
      align-items: center;
      margin-bottom: 10px;

      .file-name {
        flex: auto;
        width: 0;
        font-size: 18px;
        font-weight: bold;
        @include text-ellipsis();
      }

      .select-box {
        flex: none;
        width: 200px;
        margin-left: 20px;
      }
    }

    .echart-body {
      height: calc(100% - 44px);

      .result-data {
        height: 100%;
      }
    }
  }

  .chart-left-container {
    flex: none;
    display: flex;
    height: 100%;
    width: 60%;
    flex-wrap: wrap;
    justify-content: space-between;

    .echart-com-container {
      width: calc(50% - 10px);
      height: calc(50% - 10px);

      &:nth-child(1) {
        margin: 0px 20px 20px 0px;
      }
    }

  }

  .chart-right-container {
    width: 0;
    flex: 1;
    margin-left: 20px;

    .echart-map {
      height: calc(65% - 20px);
      margin-bottom: 20px;
    }

    &>div:last-child {
      height: 35%;
    }
  }
}

.leaflet-container{
  background: #fff;
}
.leaflet-control-container{
  display: none ;
}

// .ant-tabs-content {
//   height: 100%;
// }

#popup {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 200px;
  height: 200px;
  background-color: white;
  border: 1px solid black;
  padding: 10px;
  display: none;
}